package com.example.courseapp.bean;


public class NewFoodInfo {


    private Long id;

    private String foodname;

    //每一百克包含的热量
    private int energy;

    public int number = 0;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public String getFoodname() {
        return foodname;
    }

    public void setFoodname(String foodname) {
        this.foodname = foodname;
    }

    public int getEnergy() {
        return energy;
    }

    public void setEnergy(int energy) {
        this.energy = energy;
    }
}
